package com.li.factory.method;

/**
 * 具体产品
 */
public class Gun extends Weapon {
    @Override
    public void attack() {
        System.out.println("冲锋枪：射击！");
    }
}
